package org.powernode.service;

import org.powernode.dao.OrderDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
public class OrderService {

    //@Autowired
    //@Qualifier("orderDaoImplForMySQL")
    private OrderDao orderDao;
    /*
    @Autowired
    public void setOrderDao(OrderDao orderDao) {
        this.orderDao = orderDao;
    }*/
    /*
    public OrderService(@Autowired OrderDao orderDao) {
        this.orderDao = orderDao;
    }*/
    /*
    public OrderService(OrderDao orderDao) {
        this.orderDao = orderDao;
    }*/

    public void generate(){
        orderDao.insert();
    }
}
